<?php


namespace App;


class Log
{

    public static function printLog()
    {
//        printf("")
    }

    public static function initShow()
    {

        $str = "                        .__        __                
___  ___         ______ |__| _____/  |_  ___________ 
\  \/  /  ______ \____ \|  |/    \   __\/ __ \_  __ \
 >    <  /_____/ |  |_> >  |   |  \  | \  ___/|  | \/
/__/\_ \         |   __/|__|___|  /__|  \___  >__|   
      \/         |__|           \/          \/       ";

        printf($str . "\n");
        printf("host:%s\tport:%d\n", Conf::get('server.host'), Conf::get('server.port'));
        printf("server start\n");

    }

    public static function workLog($workName, $taskId)
    {
        printf("$workName:\t $taskId.start\n");
    }
}